#ifndef NAMED_H
#define NAMED_H

#include <string>

class Named
{
public:
    Named();
    Named(const std::string& name);
    virtual ~Named() = 0;

    const std::string& getName() const;
    void setName(const std::string& name);
protected:
    std::string name;
};

#endif